package com.qqtop10.manager.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qqtop10.manager.dao.PointsMapper;
import com.qqtop10.manager.model.Points;
import com.qqtop10.manager.service.PointsService;

/**
 * 支付给商家点数设置 Service impl
 * 
 * @author Jovi
 *
 */
@Service("pointsService")
public class PointsServiceImpl implements PointsService {

	@Autowired
	private PointsMapper pointsMapper;

	@Override
	public Points getPoints() {
		return pointsMapper.getPoints();
	}

	@Override
	public int updatePoints(Points points) {
		return pointsMapper.updatePoints(points);
	}

}
